<ion-header>

    <ion-navbar>
        <ion-buttons>
            <button ion-button (click)="dismiss()">
              <span ion-text color="primary">取消</span>
          </button>
        </ion-buttons>
        <ion-title>问题提问</ion-title>
    </ion-navbar>

</ion-header>


<ion-content>
    <ion-list>
        <ion-item>
            <ion-label stacket>
                问题标题:
            </ion-label>
            <ion-input type="text" [(ngModel)]="title"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label stacket>
                问题内容:
            </ion-label>
            <ion-textarea type="text" rows="5" [(ngModel)]="content"></ion-textarea>
        </ion-item>
    </ion-list>
    <div padding>
        <button ion-button color="primary" block (click)="submitQuestion()" [disabled]="(!title) || (!content)">提 问</button>
    </div>
</ion-content>